

export const STATUS = {
    1: {
        name: "未开始",
        color: "default"
    },
    2: {
        name: "进行中",
        color: "processing"
    },
    3: {
        name: "已完成",
        color: "success"
    }
}

export const  IS_ARCHVE = {
    0: {
        name: "未归档",
    },
    1: {
        name: "已归档",
    },
}

export const DEAMEN_STATUS = {
    1: {
        name: "未开始",
        color: "default"
    },
    2: {
        name: "进行中",
        color: "processing"
    },
    3: {
        name: "已完成",
        color: "success"
    },
    4: {
        name: "已驳回",
        color: "warning"
    },
}


export const PROD_STATUS = {
    1: {
        name: "未开始",
        color: "default"
    },
    2: {
        name: "进行中",
        color: "processing"
    },
    3: {
        name: "已完成",
        color: "success"
    },
    4: {
        name: "已驳回",
        color: "warning"
    },
}


export const PROJECT_DEV_STATUS = {
    1: {
        name: "未开始",
        color: "default"
    },
    2: {
        name: "进行中",
        color: "processing"
    },
    3: {
        name: "已提测",
        color: "warning"
    },
    4: {
        name: "已发布",
        color: "lime"
    },
    5: {
        name: "验收完成",
        color: "success"
    },
    8: {
        name: "已挂起",
        color: "default"
    },
}



export const PROJECT_QA_STATUS = {
    1: {
        name: "未开始",
        color: "default"
    },
    2: {
        name: "进行中",
        color: "processing"
    },
    3: {
        name: "已完成",
        color: "success"
    },
}

export const PROJECT_QA_CASE_SCENE = {
    1: {
        name: "冒烟测试",
    },
    2: {
        name: "单元测试",
    },
    3: {
        name: "集成测试",
    },
    4: {
        name: "系统测试",
    },
    5: {
        name: "验收测试",
    }
}


export const PROJECT_TASK_STATUS = {
    1: {
        name: "未开始",
        color: "default"
    },
    2: {
        name: "进行中",
        color: "processing"
    },
    3: {
        name: "已完成",
        color: "success"
    },
}

//1-未处理 2-处理中 3-已激活 4-已关闭 
export const PROJECT_BUG_STATUS = {
    1: {
        name: "未处理",
        color: "default"
    },
    2: {
        name: "处理中",
        color: "processing"
    },
    3:{
        name: "已解决",
        color: "success"
    },
    4: {
        name: "已激活",
        color: "error"
    },
    5: {
        name: "已关闭",
        color: "warning"
    },
}

export const PROJECT_BUG_GROUP = {
    "服务端": {
        name: "服务端",
    },
    "WEB端": {
        name: "WEB端",
    },
    "H5": {
        name: "H5",
    },
    "安卓端": {
        name: "安卓端",
    },
    "苹果端": {
        name: "苹果端",
    },
    "桌面端": {
        name: "桌面端",
    },
    "运维": {
        name: "运维",
    },
}


export const PROJECT_BUG_TYPE = {
    1: {
        name: "代码问题",
    },
    2: {
        name: "性能问题",
    },
    3: {
        name: "兼容性问题",
    },
    4: {
        name: "安全问题",
    },
    5: {
        name: "配置问题",
    },
    6: {
        name: "部署问题",
    },
    7: {
        name: "标准规范",
    },
    8: {
        name: "设计问题",
    },
    9: {
        name: "需求如此",
    },
    10: {
        name: "其他",
    },
}


export const PROJECT_BUG_REPEAT_TYPE = {
    1: {
        name: "必现",
    },
    2: {
        name: "大概率出现",
    },
    3: {
        name: "小概率出现",
    },
    4: {
        name: "只出现过一次",
    }
}

export const PROJECT_BUG_FIX_STATUS = {
    0: {
        name: "待解决",
    },
    2: {
        name: "已解决",
    },
    3: {
        name: "不予解决",
    },
    4: {
        name: "设计如此",
    },
    5: {
        name: "重复bug",
    },
    6: {
        name: "外部原因",
    },
    7: {
        name: "无法重现",
    },
    8: {
        name: "延期处理",
    },
    9: {
        name: "转为需求",
    },
}


export const PROJECT_CASE_PLAN = {
    1: {
        name: "未执行",
        color: "default"
    },
    2: {
        name: "执行中",
        color: "processing"
    },
    3: {
        name: "已完成",
        color: "success"
    },
}

export const PROJECT_CASE_PLAN_ENUM = {
    COMPLETE: '3'
}


export const COST_TIME_UNIT = {
    1: {
        name: "天",
    },
    2: {
        name: "小时",
    },
}


export const PRIORUTY_LEVEL = {
    0: {
        name: "P0",
        color: "#f5222d"
    },
    1: {
        name: "P1",
        color: "#ffa940"
    },
    2: {
        name: "P2",
        color: "#40a9ff"
    },
    3: {
        name: "P3",
        color: "#36cfc9"
    },
    4: {
        name: "P4",
        color: "#d9d9d9"
    }
}

export const DEMAND_DETAIL_TYPE = {
    0: {
        name: "其他需求"
    },
    1: {
        name: "功能需求",
    },
    2: {
        name: "性能需求",
        color: "#ffa940"
    },
    3: {
        name: "兼容性需求",
    },
    4: {
        name: "埋点需求",
        color: "#36cfc9"
    },
    5: {
        name: "数据需求",
        color: "#d9d9d9"
    }
}

export const TASK_TYPE = {
    "PROD": {
        name: "迭代"
    },
    "DEV": {
        name: "开发"
    },
    "QA": {
        name: "测试"
    }
}